EmbedPress\Includes\Classes\Analytics\Data_Collector D

Total Complexity 381
Dependencies 4
Dependents 5
Total lines 2,898
Lines of code 1,900
Logical lines of code 765
Comment lines 571
Methods 59
Properties 2

Methods 59

Method Rating Maintainability Complexity Lines of code
detect_embed_type_from_url()
C
37 33 58
fetch_geo_data_from_api()
C
35 31 75
analyze_content_id()
C
39 29 60
get_referrer_analytics()
B
34 15 107
create_optimized_interaction_record()
B
41 18 49
detect_content_type()
B
45 18 43
create_new_interaction_record()
A
44 15 40
extract_content_info()
A
47 12 38
update_interaction_counters()
A
46 12 37
extract_referrer_from_data()
A
53 11 21
update_content_counters()
A
43 9 48
get_overview_data()
A
35 5 100
get_page_title()
A
51 9 28
migrate_content_types()
A
44 7 45
parse_referrer_url()
A
51 8 26
update_referrer_counts()
A
48 7 32
get_country_name_from_code()
S
33 2 105
build_date_condition()
S
52 7 24
generate_content_title()
S
45 6 39
track_content_creation()
S
47 6 37
get_total_content_by_type()
S
47 6 35
get_geo_analytics()
S
41 4 65
store_browser_info()
S
49 6 29
get_user_ip()
S
57 6 15
get_geo_data_from_ip()
S
58 6 14
track_interaction()
S
52 5 23
count_elementor_embedpress_widgets()
S
57 5 18
count_elementor_widgets_recursive()
S
56 5 18
calculate_performance_score()
S
56 5 16
count_embedpress_blocks()
S
51 4 29
determine_referrer_source()
S
50 4 29
sync_content_counters()
S
46 3 43
get_performance_stats()
S
46 3 41
get_referral_analytics()
S
47 3 40
get_device_analytics()
S
49 3 38
get_views_analytics()
S
49 3 34
track_referrer_analytics()
S
57 4 17
get_total_unique_viewers()
S
50 3 31
extract_post_id_from_url()
S
61 4 13
get_performance_recommendations()
S
62 4 13
get_total_unique_visitors()
S
52 3 25
get_analytics_data()
S
57 3 16
create_referrer_record()
S
57 3 15
get_unique_viewers_per_embed()
S
52 2 28
map_embed_type_to_content_type()
S
53 2 24
get_browser_analytics()
S
49 1 37
is_new_referrer_visitor()
S
55 2 22
get_total_clicks()
S
56 2 20
get_total_impressions()
S
56 2 20
get_total_views()
S
56 2 20
get_clicks_analytics()
S
51 1 31
track_referrer_from_interaction_data()
S
66 3 8
count_embedpress_shortcodes()
S
60 2 14
get_impressions_analytics()
S
55 1 21
__construct()
S
71 2 6
get_country_from_ip()
S
76 1 4
get_total_content_count()
S
67 1 8
clear_content_count_cache()
S
81 1 3
is_internal_referrer()
S
72 1 5